<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body {
  background-color: #fff;
}
.card1 {
  padding: 2rem;
  text-align: center;
  width: 100%;
  height: 150px;
  background-color: #fff;
  border: 1px solid #f1f1f1;
}
.card2 {
  padding: 2rem;
  text-align: center;
  width: 100%;
  height: 150px;
  background-color: #e5e9f4;
  border: 1px solid #bbbbbb;
}
h1 {
  text-align: center;
  font-family: system-ui, sans-serif;
  font-size: 3rem;
}
button {
  width: 100px;
  height: 100px;
}

button.neumorphic {
  border: 0.5rem solid transparent;
  border-radius: 1rem;
  color: hsl(0 0% 10%);
  background: #e5e9f4;

  --shadow:
    -.5rem -.5rem 1rem hsl(0 0% 100% / .75),
    .5rem .5rem 1rem hsl(0 0% 50% / .5);
  box-shadow: var(--shadow);
  outline: none;
  transition: all 0.1s;
}

  </style>
</head>
<body>
  <div class="card1">
    <button class="neumorphic active">
    </button>
  </div>
  <div class="card2">
    <button class="neumorphic active">
    </button>
  </div>
</body>
</html>
